﻿//#include "frmmain.h"
//#include <QApplication>
#include "util/StyleHelper.h"
#include "surface/MainWindow.h"


#include <QApplication>
#include "log4qt/logmanager.h"
#include "log4qt/propertyconfigurator.h"
#include <iostream>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    //Log4Qt::PropertyConfigurator::configure("E:\\QtLog4Qt.conf");
    //Log4Qt::LogManager::setHandleQtMessages(true);

    //myHelper::SetUTF8Code();
    //StyleHelper::SetStyle("black");//黑色风格
    //StyleHelper::SetStyle("blue");//蓝色风格
    StyleHelper::SetStyle("gray");//灰色风格
    //StyleHelper::SetStyle("navy");//天蓝色风格
    //myHelper::SetChinese();

    //frmMain w;
    MainWindow form;
    form.show();
    //w.show();
    return a.exec();
}
